/*
 * File: Mapper.java 
 *  
 * Created on 05.02.2011
 */
package de.graph.mapper.impl;

import de.graph.mapper.GraphMapper;

public final class MapperFactory {

    public enum Strategy {
        BREADTH_FIRST, DEPTH_FIRST;
    }

    public static GraphMapper create(Strategy strategy) {
        switch (strategy) {
            case BREADTH_FIRST:
                return new BFSMapperImpl();

            default:
                return new BFSMapperImpl();
        }
    }
}
